package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class DescribedObject {

    private int beginIndex;
    private int endIndex;
    private SqlStatementName sqlStatementName;
    private ExtendedCursorName extendedCursorName;

    public DescribedObject(int beginIndex,
                           int endIndex,
                           SqlStatementName sqlStatementName,
                           ExtendedCursorName extendedCursorName) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.sqlStatementName = sqlStatementName;
        this.extendedCursorName = extendedCursorName;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SqlStatementName getSqlStatementName() {
        return sqlStatementName;
    }

    public ExtendedCursorName getExtendedCursorName() {
        return extendedCursorName;
    }

}
